<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/10/13
 * Time: 22:10
 */
namespace app\index\controller;

use app\BaseController;
use app\index\logic\CleaningCheckLogic;
use app\index\logic\CleaningLogic;
use app\index\logic\SignLogic;
use think\facade\Request;

class CleaningCheck extends BaseController
{
    /*
     * 巡检
     */
    public function create(){
        $cleaningCheckLogic = new CleaningCheckLogic();
        success($cleaningCheckLogic->check());
    }
    /*
     * 获取巡检信息
     */
    public function info(){
        $cleaningCheckLogic = new CleaningCheckLogic();
        success($cleaningCheckLogic->getCheckInfo());
    }
}